//
//  WedingRegistrationCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/11/16.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "POIAnnotation.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, WedingRegistrationCellActionType) {
    //导航
    WedingRegistrationCellActionType_navi,
    //打电话
    WedingRegistrationCellActionType_call
};

@interface WedingRegistrationCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *itemTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *itemAddressLab;

@property (weak, nonatomic) IBOutlet UIView *naviControl;

@property (weak, nonatomic) IBOutlet UILabel *itemTelLab;

@property (weak, nonatomic) IBOutlet UIImageView *phoneCallIcon;


@property (nonatomic, copy) void(^WedingRegistrationCellBlock)(WedingRegistrationCellActionType type);

- (void)fillCellWithModel:(POIAnnotation *)annotation AndLocation:(CLLocation *)currentLocation ;

@end

NS_ASSUME_NONNULL_END
